package edu.stu.cs.software.family.customer.domain;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import edu.stu.cs.software.family.base.domain.BaseEntity;

@Entity
@Table(name = "O_CUSTOMER_TRANSACTLOG")
public class TransactLog extends BaseEntity<Long> {

	/**
	 * 
	 */
	private static final long serialVersionUID = -5571910916713820342L;

	
	@Column(name ="TIME")
	protected Date time;	
	@Column(name ="NUM")
	int num;
	@Column(name ="PRICE")
	float price;
	
	public Date getTime() {
		return time;
	}
	public void setTime(Date time) {
		this.time = time;
	}
	public int getNum() {
		return num;
	}
	public void setNum(int num) {
		this.num = num;
	}
	
	public float getPrice() {
		return price;
	}
	public void setPrice(float price) {
		this.price = price;
	}
		
}
